package com.xbongbong.pro.businesstage.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import com.xbongbong.pro.businesstage.pojo.SortPojo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author haibin.zhang
 * @version v1.0
 * @date 2019/2/18 18:32
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class StageSortDTO extends BaseDTO {
    /**
     * 表单id
     */
    private Long formId;
    /**
     * 排序列表
     */
    @NotNull(message = "{dto.msg.stageSort.sortList.NotNull}")
    @Getter(onMethod_ = {@QueryIgnore})
    private List<SortPojo> sortList;
}
